package com.example.pojo;

import lombok.*;

import java.util.List;

@Data
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
@ToString
//ElementTree树形组件数据格式实体类
public class ElementTree {
    private int id;
    //标题
    private String name;
    //子节点
    private List<ElementTree> children;
    //父节点id
    private int parentId;
}
